Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(botcard): restore the UI effect #562

Merged
merged 6 commits into from
Dec 6, 2024
Merged

feat(botcard): restore the UI effect #562

merged 6 commits into from
Dec 6, 2024

Conversation

ch-liuzhide
Copy link
Contributor

image

Copy link

vercel bot commented Dec 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
petercat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2024 6:18am

Copy link

Walkthrough

This pull request restores the UI effect for the BotCard component. It introduces new icons and tooltips to enhance the user interface, and adds functionality to display information about bot deployment on various platforms.

Changes

Files Summary
client/.kiwi/en/components.ts, client/.kiwi/ja/components.ts, client/.kiwi/ko/components.ts, client/.kiwi/zh-CN/components.ts, client/.kiwi/zh-TW/components.ts Added new translations for UI elements related to bot deployment and platforms.
client/app/factory/list/components/BotCard.tsx Enhanced BotCard component with new icons and tooltips for better UI interaction.
client/app/hooks/useBot.ts Added a new hook useGetBotBoundRepos to fetch bot repository bindings.
client/app/services/BotsController.ts Added a new function getBotBoundRepos to retrieve bot repository data from the server.
client/components/BotCard.tsx Updated BotCard component to include new UI effects and icons.
client/public/icons/CardCartIcon.tsx, client/public/icons/CardGithubIcon.tsx, client/public/icons/CardHomeIcon.tsx Added new icon components for cart, GitHub, and home.
server/bot/router.py Added a new API endpoint /bound_to_repository to get bot repository bindings.
server/core/dao/repositoryConfigDAO.py Added a new method get_by_bot_id to fetch repository configurations by bot ID.

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 28.57143% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
server/bot/router.py 28.57% 5 Missing ⚠️
Files with missing lines Coverage Δ
server/core/dao/repositoryConfigDAO.py 38.23% <ø> (ø)
server/bot/router.py 18.30% <28.57%> (-0.97%) ⬇️

... and 2 files with indirect coverage changes

Copy link
Contributor

@xingwanying xingwanying left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@xingwanying xingwanying merged commit 89a53df into main Dec 6, 2024
3 of 5 checks passed
@xingwanying xingwanying deleted the ui/1204 branch December 6, 2024 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants